package com.freesky.web.manager.remote.search.fallback;

import com.freesky.common.dao.entity.SearchExpandLexcion;
import com.freesky.common.pojo.DataTablesResult;
import com.freesky.common.utils.reponse.JSONResponse;
import com.freesky.common.utils.reponse.JSONResponseDiretor;
import com.freesky.web.manager.remote.search.ExpandLexiconRemote;
import com.freesky.web.manager.remote.search.SearchItemRemote;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @author: 陈玉林
 * @modifiedBy:
 * @date: Create In 17:12 2018/11/29
 * @description:
 */
@Component
@Slf4j
public class ExpandLexiconRemoteFallback implements ExpandLexiconRemote{


    @Override
    public DataTablesResult getList() {
        log.error("获取拓展词库列表服务维护中");
        return null;
    }

    @Override
    public JSONResponse add(SearchExpandLexcion searchExpandLexcion) {
        log.error("添加拓展词库服务维护中");
        return JSONResponseDiretor.buildBadServiceJSONResponse("添加拓展词库服务维护中",null);
    }

    @Override
    public JSONResponse deleteById(Integer[] ids) {
        log.error("删除拓展词库服务维护中");
        return JSONResponseDiretor.buildBadServiceJSONResponse("删除拓展词库服务维护中",null);
    }
}
